package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TReturnbook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TReturnbook implements java.io.Serializable {

	// Fields

	private Integer returnbookId;
	private TShop TShop;
	private TStaff TStaff;
	private TMember TMember;
	private Date returnbookTime;
	private Double returnbookSum;
	private Set TReturnbookdetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TReturnbook() {
	}

	/** minimal constructor */
	public TReturnbook(TShop TShop, TStaff TStaff, TMember TMember,
			Date returnbookTime, Double returnbookSum) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.returnbookTime = returnbookTime;
		this.returnbookSum = returnbookSum;
	}

	/** full constructor */
	public TReturnbook(TShop TShop, TStaff TStaff, TMember TMember,
			Date returnbookTime, Double returnbookSum, Set TReturnbookdetails) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.returnbookTime = returnbookTime;
		this.returnbookSum = returnbookSum;
		this.TReturnbookdetails = TReturnbookdetails;
	}

	// Property accessors

	public Integer getReturnbookId() {
		return this.returnbookId;
	}

	public void setReturnbookId(Integer returnbookId) {
		this.returnbookId = returnbookId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public TStaff getTStaff() {
		return this.TStaff;
	}

	public void setTStaff(TStaff TStaff) {
		this.TStaff = TStaff;
	}

	public TMember getTMember() {
		return this.TMember;
	}

	public void setTMember(TMember TMember) {
		this.TMember = TMember;
	}

	public Date getReturnbookTime() {
		return this.returnbookTime;
	}

	public void setReturnbookTime(Date returnbookTime) {
		this.returnbookTime = returnbookTime;
	}

	public Double getReturnbookSum() {
		return this.returnbookSum;
	}

	public void setReturnbookSum(Double returnbookSum) {
		this.returnbookSum = returnbookSum;
	}

	public Set getTReturnbookdetails() {
		return this.TReturnbookdetails;
	}

	public void setTReturnbookdetails(Set TReturnbookdetails) {
		this.TReturnbookdetails = TReturnbookdetails;
	}

}